using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

namespace Webcar.Sec
{
    public partial class SecReport_Money : PageBase
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        private string GetProcType()
        {
            string type = "loss";
            if (this.rbMoney.Checked)
                type = "pay";
            if (this.rbLoss.Checked)
                type = "loss";
            return type;
        }
        public void SearchClick(object sender, EventArgs e)
        {
            this.SecMoneyView1.InitView(this.SelectByYearForSec1.GetYear(), this.SelectByYearForSec1.GetTjFlag(), this.GetProcType());

        }
        
    }
}
